class Requisito < ActiveRecord::Base
  belongs_to :projeto
  has_many :tarefa

  validates :nome, :presence => true, :uniqueness => true
  validates :pts_historia, :presence => true, :numericality => true
end
